package com.example.javademo.easy;

/**
 * Created by xuguangyuansh on 2018/12/21.
 */
public class HelloWorld {
    public void printstr() {
        for (int i = 0; i < 5; i++) {
            System.out.println("Hello World");
        }

    }

    public static void main(String[] args) {
        HelloWorld T = new HelloWorld();
        T.printstr();

        User U = new User();
        // U.print2();


        // System.out.println(U);

        U.setUsername("迪迪 2018/12/30");
        System.out.println(U);
        System.out.println(U.toString());
    }
}
